package com.itheima.Thread11;

public class Demo {
    public static void main(String[] args) {
        MyRancable mr = new MyRancable();
        Thread thread = new Thread(mr);
        Thread thread1 = new Thread(mr);
        thread.setName("窗口一");
        thread1.setName("窗口二");
        thread.start();
        thread1.start();
    }
}
